#pragma once
#include"public_struct.h"
int maxDepth(Node* root) {
	if (!root)return 0;
	int max_l = 0;
	for (int i = 0; i < root->children.size(); ++i) {
		max_l = max(max_l, maxDepth(root->children[i]));
	}
	return max_l + 1;
}